package org.parademo.service;

import org.parademo.model.TopicEntity;
import org.parademo.web.model.TopicView;

import java.util.List;

public interface TopicService {
    TopicEntity getTopicById(long userId);
    List<TopicEntity> getTopics();
    TopicEntity getTopicByName(String name);
    long createTopic(TopicView topicView);
}
